package com.mordenx.service;

import com.mordenx.dao.PersonDao;
import com.mordenx.entity.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PersonService {

    @Autowired
    PersonDao personDao;

    public void insertPerson(Person person){
             personDao.insertPerson(person);
    }
}
